<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- -------------------------------------------- -->
<jsp:useBean id="requestBean" class="by.ostrovsky.webhousingsystem.bean.data.HousingRequestBean"
	scope="session" />
<c:set var="list" value="${requestBean.entityList}" />
<!-- -------------------------------------------- -->

<table class="table">
<tr><td>Id</td><td>User</td><td>Deadline</td><td>Work</td><td>Phone</td><td>Additional</td></tr>
	<c:forEach items="${list}" var="item">
		<c:if test="${item.accepted == false}">
			<tr><td>${item.id}</td><td>${item.account.id}</td><td>${item.deadline}</td>
				<td>${item.work}</td><td>${item.phone}</td><td>${item.addinfo}</td></tr>
		</c:if>
	</c:forEach>
</table>